package com.dianmi.seckill.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author xieqiaofu
 * @date 2021/4/2
 */
@Data
@TableName("t_seckill_product")
public class SeckillProduct {

    @TableId
    private Long id;

    private String name;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private Integer stock;

    private BigDecimal price;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
